package com.missilike.biz;

import com.missilike.biz.impl.MilAccountServiceImpl;
import com.missilike.repository.entity.MilFriendApply;
import com.baomidou.mybatisplus.extension.service.IService;
import com.missilike.repository.entity.extend.MilFriendApplyExtend;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author pengpengli
 * @since 2018-12-19
 */
public interface IMilFriendApplyService extends IService<MilFriendApply> {
    MilFriendApply friendRequest(MilFriendApply apply);
    boolean friendRequestResponse(MilFriendApply apply);

     List<MilFriendApplyExtend> getApply(String toAccountId, Long lastId, Integer pageSize);

    boolean inApply(String fromId, String toId);

    void setFriendApplyService(MilAccountServiceImpl milAccountService);

    void setFriendRelationshipService(IMilFriendRelationshipService friendRelationshipService);

    void setEquipmentService(IMilEquipmentService iMilEquipmentService);
}
